<template>
  <div>
    <el-container>
      <el-header> <heads></heads></el-header>
      <el-container>
        <el-aside width="100px">
          <div class="asido">
            <div class="user" @click="user">
              <img src="https://s1.ax1x.com/2022/10/25/xR2OsJ.png" alt="" />
              <br />
              <span>用户管理</span>
            </div>
            <div class="department act" @click="department">
              <img src="https://s1.ax1x.com/2022/10/24/x28f56.png" alt="" />
              <br />
              <span>科室字典</span>
            </div>
            <div class="type act" @click="types">
              <img src="https://s1.ax1x.com/2022/10/25/xR2XL9.png" alt="" />
              <br />
              <span>转诊类型</span>
            </div>
            <div class="statistical act" @click="statistical">
              <img src="https://s1.ax1x.com/2022/10/25/xR4r36.png" alt="" />
              <br />
              <span>统计</span>
            </div>
          </div>
        </el-aside>
         <div class="Main">
          <router-view></router-view>
         </div>
      </el-container>
    </el-container>
    <div></div>
  </div>
</template>

<script>
// 引入头部
import heads from "@/components/heads";
export default {
  name: "Asido",
  components: { heads },
  data() {
    return {};
  },
  methods: {
    user() {
      this.$router.push({
        path: "/Asido/user",
      });
    },
    department() {
      this.$router.push({
        path: "/Asido/department",
      });
    },
    types() {
      this.$router.push({
        path: "/Asido/types",
      });
    },
    statistical() {
      this.$router.push({
        path: "/Asido/statistical",
      });
    },
  },
  mounted() {},
};
</script>

<style lang="less" scoped>
.asido {
  width: 81px;
  height: 810px;
  float: left;
  box-sizing: border-box;
  padding-top: 40px;
  background: #f2f2f2;
  border-right: 1px solid #cccccc;
}
.Main {
  height: 810px;
  
}
.user {
  height: 57px;
  box-sizing: border-box;
  padding-left: 10px;
  img {
    width: 29px;
    height: 29px;
    margin-left: 13px;
  }
  span {
    display: block;
    font-size: 14px;
    margin-top: 10px;
    color: #999999;
  }
}
.act {
  margin-top: 25px;
  height: 57px;
  box-sizing: border-box;
  padding-left: 10px;
  img {
    width: 29px;
    height: 29px;
    margin-left: 13px;
  }
  span {
    display: block;
    font-size: 14px;
    margin-top: 10px;
    color: #999999;
  }
}
.statistical {
  img {
    height: 20px;
    width: 30px;
  }
  span {
    margin-left: 14px;
  }
}
.el-header{
  padding: 0;
}
.el-main{
  margin-left: -130px;
}
</style>
